from likeshop_api_project.base.mybase import Tools

class getGoodsDetail_model(Tools):
    # 路径
    path = 'api/goods/getGoodsDetail'
    # 发送请求
    def getGoodsDetail_action(self, id):
        getGoodsDetail_data = {
            'id': id
        }
        getGoodsDetail = self.meeting.get(url=self.hosturl+self.path, params=getGoodsDetail_data)
        return getGoodsDetail.json()
